diff options
| author | jstmax! <maxwasmailed@proton.me> | 2025-10-26 12:50:30 +0100 |
|---|---|---|
| committer | jstmax! <maxwasmailed@proton.me> | 2025-10-26 12:50:30 +0100 |
| commit | 75c92bd100a3b6e8c969a15b762f046672e9c644 (patch) | |
| tree | 65fa9b42b6d016084b975a588a90dee6ee9011ab /cfg/fish_prompt[s].fish | |
| parent | 458248dc24c5e1a0bf0ef54b0802635b533cb720 (diff) | |
updated fish functions + doing some ordering und scheisse
Diffstat (limited to 'cfg/fish_prompt[s].fish')
| -rw-r--r-- | cfg/fish_prompt[s].fish | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cfg/fish_prompt[s].fish b/cfg/fish_prompt[s].fish deleted file mode 100644 index 06d5c6c..0000000 --- a/cfg/fish_prompt[s].fish +++ /dev/null @@ -1,25 +0,0 @@ -function fish_prompt - set -l user $USER - set -l cwd $PWD - set -l home $HOME - - if test "$cwd" = "$home" - # if in ~ - echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)"~"(set_color red)")"(set_color red)"\n╰"(set_color normal)"⮞ " - # ╭(max⮞⮞⮞~) - # ╰⮞ - else if string match -q "$home/*" $cwd - set -l relative (string replace "$home/" "~/" $cwd) - # if in a ~ subdir - echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)$relative(set_color red)")"(set_color red)"\n╰"(set_color normal)"⮞ " - else - # if in any other dir - echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)$cwd(set_color red)")"(set_color red)"\n╰"(set_color normal)"⮞ " - end -end |